<!DOCTYPE html>
<!--
# @Time : 2021/6/3 19:46 
# @Author : 常雷
# @File : home.thml
# @Software: PyCharm
-->
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>前台工作home</title>
    <meta name="viewport" content="width-decice-width, initial-scale=1">
     {% load static %}
    <link rel="stylesheet" href="{% static 'bootstrap-3.3.7-dist/css/bootstrap.min.css' %}">
    <script src="{% static 'js/jquery-3.5.1.min.js' %}"></script>
    <script src="{% static 'bootstrap-3.3.7-dist/js/bootstrap.min.js' %}"></script>   <!--  # 动态解析令牌-->
</head>
<body>
<nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">卡拉OK点歌系统:</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">music1024 <span class="sr-only">(current)</span></a></li>
        <li><a href="#">前台工作空间</a></li>
      </ul>
      <form class="navbar-form navbar-left " >
        <div class="form-group">
          <input type="text" class="form-control" placeholder="搜索框">
        </div>
        <button type="submit" class="btn btn-default">
            <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
        </button>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#">欢迎你!</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> 菜 单 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">当前账号</a></li>
            <li><a href="#">账号设置</a></li>
            <li><a href="#">制作人员名单</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="/state/login/">退出登录</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-2">
            <div class="list-group">
                {% block active %}
                <a href="/state/home/" class="list-group-item active">首页</a>
                <a href="/state/room_info/" class="list-group-item">房间信息查询</a>
                <a href="/state/guid_info/" class="list-group-item">引导信息查询</a>
                <a href="/state/kaccount_info/" class="list-group-item">K歌账号查询</a>
                <a href="/state/help_info/" class="list-group-item">帮助</a>
                {% endblock %}

            </div>
        </div>
        <div class="col-md-10">
            <div class="panel panel-primary">
              <div class="panel-heading">
                <h3 class="panel-title">信息展示窗口</h3>
              </div>
              <div class="panel-body">
{#                  定义区域名#}
                  {% block content %}
                    <div class="jumbotron">
                      <h1>Hello, {{ user_obj }}! 欢迎回来</h1>
                      <p>今天是{{ jtime }}</p>
                      <p><a class="btn btn-primary btn-lg" href="/state/work/" role="button"> Go to work </a></p>
                   </div>
                  {% endblock %}

               </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>